<--- %%NOBANNER%% --> remove.sas
 BackForward

/*-------------------<-- Start of Description-->---------------------\
| Remove a character in the Macro string;                            |
|---------------------<-- End of Description-->----------------------|
|--------------------------------------------------------------------|
|------------<-- Start of Files or Arguments Needed-->---------------|
| Argument:                                                          |
|    string: the string you want to work on;                         |
|    remvechr: the character you want to remove;                     |
|-------------<-- End of Files or Arguments Needed-->----------------|
|--------------------------------------------------------------------|
|------------------<-- Start of Files Created-->---------------------|
| Example: %remove( "PLA" Derivative, '"');                          |
| Usage:   %Remove(STRING, REMVECHR);                                |
\-------------------<-- End of Files Created-->---------------------*/
f%macro Remove(STRING, REMVECHR);
/*--------------------------------------------\
| Author:  Duo Zhou;                          |
| Created: 8-27-2001 10:27pm;                 |
| Purpose: Remove A Character from A Macro    |
|          String;                            |
\--------------------------------------------*/
   %sysfunc(compress(&string, &REMVECHR));
%mend Remove;